package com.neusoft.neumooc.controller;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.neusoft.core.common.BaseController;

/**
 * @ClassName: HomeController
 */
@Controller
@RequestMapping(value = "/home")
public class HomeController extends BaseController {

	@RequestMapping(value = "/index")
	@ResponseBody
	public Map<String, Object> index(HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		Map<String, Object> retMap = new HashMap<String, Object>();
		retMap.put("test", "test");
		return retMap;
	}
}